package patterns;

public class ObserverImpl implements Observer {
	private String state = null;

	@Override
	public void update(Subject o) {
		
		System.out.println("Update received from subject" +o.getClass().getName() + "\n State changed to :" + o.getState());
	}

}
